﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace TA.Win.Utils.Design
{
	/// <summary>
	/// When implemented, gets a <see cref="StringOptions"/> object which contains information for the <see cref="StringCollectionDialog"/>.
	/// </summary>
	public interface IStringOptionsProvider
	{
		/// <summary>
		/// Gets a <see cref="StringOptions"/> object using the specified designer context and provider.
		/// </summary>
		/// <param name="context"></param>
		/// <param name="provider"></param>
		/// <returns></returns>
		StringOptions GetOptions(ITypeDescriptorContext context, IServiceProvider provider);
	}
}
